﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>@ViewData["Title"] - 爱宠汇</title>
    <link rel="stylesheet" href="~/css/main.css?x=1432" />
    <link rel="stylesheet" href="~/css/element-ui_2.15.7_theme-chalk_index.css">
    <style>
       a{
            text-decoration: none;
            color: white;
        }

        a:hover {
            text-decoration: underline;
        }
    </style>
    @RenderSection("Style", required: false)
</head>
<body>
    <div id="app">
        <el-container>
@*             <el-header> *@
            <div style="width:100%;height:45px;background-color:black;z-index:9;position:fixed;">
                <div style="text-align:center; line-height:45px; width:1020px; margin:auto;font-size:16px;height:45px;">
                        <div style="float: left;"><img src="~/pet.png" style="width:70px; height:45px;" /></div>
                    <div style="float: left; margin-left:70px;"><a id="firstPage" href="/Home/Index">首页</a></div>
                    <div style="float: left; margin-left:100px;"><a id="petFosterage" href="/Home/PetFosterage">宠物寄养</a></div>
                    <div style="float: left; margin-left:100px;"><a id="petBeauty" href="/Home/PetBeauty">宠物美容</a></div>
                        <div style="float: left; margin-left:100px;"><a id="petStory" href="/Home/PetStory">爱宠故事</a></div>
                        <div style="float: left; margin-left:100px;"><a id="petKnowledge" href="/Home/PetKnowledge">养宠知识</a></div>
                    <div style="float: left; margin-left:100px;"><a id="aboutUS" href="/Home/AboutUS">联系我们</a></div>
                </div>
            </div>
@*              </el-header> *@
             <el-main>
                 @RenderBody()
             </el-main>
            <el-footer>
                <div style="text-align:center; line-height:28px; width:1020px; margin:auto;font-size:14px;">
                    2023-@DateTime.Now.ToString("yyyy") 宠物汇版权所有&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;开发人员QQ:123456789&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;开发人员：李~鹏
                </div>
            </el-footer>
        </el-container>
    </div>
    <script src="~/js/jquery3.6.0.js"></script>
    <script src="~/js/vue2.6.14.js"></script>
    <script src="~/js/eu-index2.15.7.js"></script>
    <script src="~/js/axios1.5.0.min.js"></script>
    <script src="~/js/jscookie3.0.1.min.js"></script>
    <script type="text/javascript">
        //添加请求拦截器，在发送请求之前做某件事
        axios.interceptors.request.use(config => {
            return config;
            //return Promise.reject(new Error('请求条件不满足'));
        }, error => {
            return Promise.reject(error)
        });

        //响应拦截器
        axios.interceptors.response.use(res => {
            //请求成功对响应数据做处理
            return res;
        }, err => {
            //响应错误做些什么
            return Promise.reject(err);
        })
    </script>
  @RenderSection("Scripts", required: false)
</body>
</html>
